﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopTaohuaCatePropValue : BaseObject
    {
        //begin
        public TopTaohuaCatePropValue(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _ValueId;
        [Size(SizeAttribute.Unlimited)]
        public string ValueId
        {
            get
            {
                return _ValueId;
            }
            set
            {
                SetPropertyValue("ValueId", ref _ValueId, value);
            }
        }
        private string _PropValue;
        [Size(SizeAttribute.Unlimited)]
        public string PropValue
        {
            get
            {
                return _PropValue;
            }
            set
            {
                SetPropertyValue("PropValue", ref _PropValue, value);
            }
        }
        private TopTaohuaItemPVPair _TaohuaItemPVPair;
        [Association("TaohuaItemPVPairTaohuaCatePropValues", typeof(TopTaohuaItemPVPair))]
        public TopTaohuaItemPVPair TaohuaItemPVPair
        {
            get
            {
                return _TaohuaItemPVPair;
            }
            set
            {
                SetPropertyValue("TaohuaItemPVPair", ref _TaohuaItemPVPair, value);
            }
        }
        //end

    }
}
